//
//  UITextField+XSQPlaceHolder.m
//  BuDeJie
//
//  Created by Sem on 2018/6/29.
//  Copyright © 2018年 SEM. All rights reserved.
//

#import "UITextField+XSQPlaceHolder.h"

@implementation UITextField (XSQPlaceHolder)
- (UIColor *)placeHolderColor{
    UILabel *placeholderLabel = [self valueForKeyPath:@"placeholderLabel"];
    
    return placeholderLabel.textColor;
}
- (void)setPlaceHolderColor:(UIColor *)placeHolderColor{
    UILabel *placeholderLabel = [self valueForKeyPath:@"placeholderLabel"];
    placeholderLabel.textColor =placeHolderColor;
}
@end
